package com.yinp.proapp.module.baidu_map.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @author :yinpeng
 * date      :2021/10/8
 * package   :com.yinp.proapp.module.baidu_map.bean
 * describe  :
 */
@Entity
public class BaiduMapSearchImportanceBean {
    @Id(autoincrement = true)
    private Long id;

    @Property
    private int count;

    @Property
    @NotNull
    private String address;

    @Property
    @NotNull
    private String detailAddress;

    @Property
    private String latitude;//纬度

    @Property
    private String longitude;//经度

    @Property
    private boolean isHome;//是否是家

    @Property
    private boolean isCompany;//是否是公司

    @Property
    private boolean isOften;//是否置顶

    @Generated(hash = 1063478388)
    public BaiduMapSearchImportanceBean(Long id, int count, @NotNull String address,
            @NotNull String detailAddress, String latitude, String longitude,
            boolean isHome, boolean isCompany, boolean isOften) {
        this.id = id;
        this.count = count;
        this.address = address;
        this.detailAddress = detailAddress;
        this.latitude = latitude;
        this.longitude = longitude;
        this.isHome = isHome;
        this.isCompany = isCompany;
        this.isOften = isOften;
    }

    @Generated(hash = 848425787)
    public BaiduMapSearchImportanceBean() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getCount() {
        return this.count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDetailAddress() {
        return this.detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public String getLatitude() {
        return this.latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return this.longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public boolean getIsHome() {
        return this.isHome;
    }

    public void setIsHome(boolean isHome) {
        this.isHome = isHome;
    }

    public boolean getIsCompany() {
        return this.isCompany;
    }

    public void setIsCompany(boolean isCompany) {
        this.isCompany = isCompany;
    }

    public boolean getIsOften() {
        return this.isOften;
    }

    public void setIsOften(boolean isOften) {
        this.isOften = isOften;
    }
}
